<template>
    <div class="in">
        <div class="index">
            <div class="w1">
                <div class="w1_1">
                    <div class="Overhead">
                        <span class="ti1">关注动态</span>
                    </div>
                    <div class="useTil" v-for="it,i in data1" :key="i" v-show="data1 != ''">
                        <div class="title1">
                            <div class="title1_1">
                                <img class="img1" :src="it.img1" width="30px" alt="">
                                <!-- <i class="el-icon-arrow-down"></i> -->
                                <img class="img3" src="../assets/img/v.png" alt="">
                                <span class="ti1" :title="it.name">{{it.name}}</span>
                                <span class="ti2">
                                    <img class="img2" :src="it.grade" alt="">
                                </span>
                                <span class="ti3">{{it.time}}</span>
                            </div>
                            <!-- <div class="title1_2">
                                关注
                            </div> -->
                        </div>
                        <div class="title2">
                            <!-- <div class="ti1">官方</div> -->
                            <div class="ti2">{{it.title}}</div>
                        </div>
                        <div class="title3">
                            {{it.brief}}
                        </div>
                        <div class="title4">
                            <div v-for="(item,i) in it.listImg" :key="i">
                                <!-- <img :src="item" alt=""> -->
                                <el-image :src="item" :preview-src-list="it.listImg"></el-image>
                            </div>
                        </div>
                        <div class="title5">
                            <div class="title5_1">
                                <div v-for="i in it.label" :key="i">{{i}}</div>
                            </div>
                            <div class="title5_2">
                                <div class="title5_2_1">
                                    <i class="el-icon-view"></i>
                                    <span>{{it.views}}</span>
                                </div>
                                <div class="title5_2_2">
                                    <i class="el-icon-chat-dot-round"></i>
                                    <span>{{it.comment}}</span>
                                </div>
                                <div class="title5_2_3">
                                    <i class="el-icon-thumb"></i>
                                    <span>{{it.give}}</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="useTil2" v-show="data1 == ''">
                        <img src="https://bbs.mihoyo.com/_nuxt/img/noData.a3d7135.png" alt="">
                        <p>~暂时没有帖子哟~</p>
                    </div>
                </div>
            </div>
            <div class="w2">
                <div class="w2_2">
                    <div class="w2_2_1">
                        <div class="uia1">
                            <img src="https://img-static.mihoyo.com/new_qrcode/qrcode_ys.png" width="100px" alt="">
                            <div class="uia1_1">
                                <span class="ti1">扫码下载米游社App</span>
                                <span class="ti2">了解提瓦特最新资讯</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="w2_4">
                    <div class="w2_4_index">
                        <div class="una1">
                            <span>官方资讯</span>
                        </div>
                        <div class="una2">
                            <span>更多</span>
                        </div>
                    </div>
                    <div class="w2_4_index2">
                        <div class="im">
                            <img src="https://upload-bbs.mihoyo.com/upload/2022/04/29/75379477/2ea09aee020e97b68be4110fdce6f32b_5216870197910584003.jpg?x-oss-process=image/resize,s_300/quality,q_80/auto-orient,0/interlace,1/format,jpg" alt="">
                            <span class="kjg" title="【有奖活动】「裁景入画」旅照札记摄影征集活动开启！">【有奖活动】「裁景入画」旅照札记摄影征集活动开启！</span>
                        </div>
                        <div class="im2" v-for="item,i in guangfang" :key="i">
                            <span class="huo">{{item.name}}</span>
                            <span class="jie">{{item.title}}</span>
                        </div>
                    </div>
                </div>
                <div class="w2_5">
                    <div class="w2_5_index">
                        <div class="una1">
                            <span>热门话题</span>
                        </div>
                        <div class="una2">
                            <span>更多</span>
                        </div>
                    </div>
                    <div class="w2_5_index2">
                        <div class="tiing" v-for="i in 20" :key="i">
                            <img src="https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg" alt="">
                            <span>不是吧老铁</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <el-backtop :bottom="300" :right='300'> 
            <img src="../assets/img/top.png" alt="">
        </el-backtop>
    </div>
</template>

<script>
export default {
    data() {
        return {
            data1: [
                {
                    id: 1,
                    img1: 'https://img-static.mihoyo.com/avatar/avatar10014.png',
                    icon: '../../assets/img/v.png',
                    name: '西风快报员',
                    grade: 'https://img-static.mihoyo.com/level/level16.png',
                    time: '22小时',
                    title: '[百货奇货]活动：开奇货匣得原石!',
                    brief: '常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f',
                    listImg: [
                        'https://upload-bbs.mihoyo.com/upload/2022/05/11/75379477/5fcf7b59470b5654717f4e17aedd171d_5172918632702698729.png',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/11/75379477/5fcf7b59470b5654717f4e17aedd171d_5172918632702698729.png',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg'
                    ],
                    label: ['你好uacdfssf','不好吧','太好啦'],
                    views: '168万+',
                    comment: '9800',
                    give: '16万+'
                },{
                    id: 2,
                    img1: 'https://img-static.mihoyo.com/avatar/avatar10014.png',
                    icon: '../../assets/img/v.png',
                    name: '西风快报员',
                    grade: 'https://img-static.mihoyo.com/level/level16.png',
                    time: '22小时',
                    title: '[百货奇货]活动：开奇货匣得原石!',
                    brief: '常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f',
                    listImg: [
                        'https://upload-bbs.mihoyo.com/upload/2022/03/30/5f1612a985b3c421e3298bc17618a43b.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/04/29/3fe57965ed348966dd93dfaba28da0f6.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/04/29/b20891f66c723d6c569c1e8f3447671e.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg'
                    ],
                    label: ['你好uacdfssf','不好吧','太好啦'],
                    views: '168万+',
                    comment: '9800',
                    give: '16万+'
                }
            ],










            imgList: [
                'https://upload-bbs.mihoyo.com/upload/2022/03/30/5f1612a985b3c421e3298bc17618a43b.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/04/29/3fe57965ed348966dd93dfaba28da0f6.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/04/29/b20891f66c723d6c569c1e8f3447671e.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg'
                ],
            www: [
                '你好uacdfssf','不好吧','太好啦'
            ],
            imgList2: [
                'https://upload-bbs.mihoyo.com/pc_ad/pc_ad_ys_game_record2.jpg',
                'https://upload-bbs.mihoyo.com/upload/2022/03/29/d169c8353e5c428340f0bcac4b9e8b34_6854408165333802564.jpg',
                'https://upload-bbs.mihoyo.com/pc_ad/ys_signin.jpg'
            ],
            guangfang: [
                {name: '活动', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
                {name: '资讯', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
                {name: '资讯', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
                {name: '公告', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
                {name: '公告', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
            ],
            tuia: [
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', na: '假日冒险？触发！'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', na: '假日冒险？触发！'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', na: '假日冒险？触发！'},
            ],
            usertuiji:[
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', name: '从你少女', dengji: 'Lv.9', title: '水泥厂你是v发'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', name: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法', dengji: 'Lv.9', title: '水泥厂你是v发'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', name: '从你', dengji: 'Lv.9', title: '水泥厂你是v发'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', name: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法', dengji: 'Lv.9', title: '水泥厂你是v发'},
            ],
            meiyutuijan: [
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/22/22630933/e5e9e7ee01c8befb3e9d86149fbdb311_7405146438885921199.jpg', titl: 'dnisdnacfuivbf才能丢v发表VS吧v夫i欧冠我不够稳固货物发到就拿出来覅就覅我'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/22/22630933/e5e9e7ee01c8befb3e9d86149fbdb311_7405146438885921199.jpg', titl: 'dnisdnacfuivbf才能丢v发表VS吧v夫i欧冠我不够稳固货物发到就拿出来覅就覅我'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/22/22630933/e5e9e7ee01c8befb3e9d86149fbdb311_7405146438885921199.jpg', titl: 'dnisdnacfuivbf才能丢v发表VS吧v夫i欧冠我不够稳固货物发到就拿出来覅就覅我'},
            ]
        }
    }
}
// mi_youshe
</script>
<style lang="less" scoped>
    .el-backtop img {
        max-width: 100px;
    }
    .in {
        width: 100%;
        background-color: #f7f5f5;
        .index {
            // border: 1px solid red;
            display: flex;
            margin-top: 30px;
            justify-content: center;
            .w1 {
                // border: 1px solid red;
                width: 700px;
                height: 100%;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                .w1_1 {
                    // border-bottom: 1px solid #999;
                    padding: 6px;
                    // margin-top: 20px;
                    background-color: white;
                    border-radius: 5px;
                    display: flex;
                    justify-content: center;
                    flex-wrap: wrap;
                    .Overhead {
                        border-bottom: 1px solid #999;
                        height: 50px;
                        width: 100%;
                        display: flex;
                        align-items: center;
                        span {
                            margin-left: 10px;
                            font-weight: bolder;
                        }
                    }
                    .useTil:hover {
                        .ti2 {
                            color: #00c3ff;
                        }
                    }
                    .useTil {
                        // border: 1px solid red;
                        cursor: pointer;
                        width: 96%;
                        padding: 3px;
                        border-bottom: 1px solid #999;
                        margin-top: 6px;
                        .title1 {
                            margin-top: 10px;
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            .title1_1 {
                                display: flex;
                                align-items: center;
                                position: relative;
                                .img1 {
                                    border-radius: 50%;
                                    cursor: pointer;
                                }
                                span {
                                    margin-left: 6px;
                                }
                                .img3 {
                                    max-width: 9px;
                                    position: absolute;
                                    margin-left: 22px;
                                    margin-top: 20px;
                                    cursor: pointer;
                                }
                                // i {
                                //     color: white;
                                //     background-color: #00c3ff;
                                //     border-radius: 20px;
                                //     font-size: 6px;
                                //     position: absolute;
                                //     margin-left: 22px;
                                //     margin-top: 20px;
                                //     cursor: pointer;
                                // }
                                .ti1 {
                                    font-size: 10px;
                                    cursor: pointer;
                                }
                                .ti1:hover {
                                    font-size: 10px;
                                    color: #00c3ff;
                                    cursor: pointer;
                                }
                                .ti2 {
                                    .img2 {
                                        max-width: 30px;
                                    }
                                }
                                .ti3 {
                                    color: #999;
                                    font-size: 10px;
                                }
                            }
                            // .title1_2 {
                            //     width: 10%;
                            //     display: flex;
                            //     align-items: center;
                            //     justify-content: center;
                            //     font-size: 15px;
                            //     color: white;
                            //     height: 23px;
                            //     background-color: #00c3ff;
                            //     border-radius: 20px;
                            //     cursor: pointer;
                            // }
                        }
                        .title2 {
                            margin-top: 10px;
                            display: flex;
                            align-items: center;
                            .ti1 {
                                width: 35px;
                                text-align: center;
                                background-color: #00c3ff;
                                font-size: 15px;
                                color: white;
                            }
                            .ti2 {
                                margin-left: 6px;
                                font-size: 15px;
                                font-weight: bolder;
                            }
                            .ti2:hover {
                                color: #00c3ff;
                                cursor: pointer;
                            }
                        }
                        .title3 {
                            margin-top: 5px;
                            color: #999;
                            font-size: 13px;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 1;
                            overflow: hidden;
                        }
                        .title4 {
                            margin-top: 6px;
                            display: flex;
                            flex-wrap: wrap;
                            .el-image {
                                margin-left: -10px;
                                min-width: 35%;
                                vertical-align: middle;
                                border-radius: 6px;
                                height: 80px;
                                margin: 10px;
                            }
                        }
                        .title5 {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            .title5_1 {
                                display: flex;
                                div {
                                    margin-left: 10px;
                                    padding: 5px;
                                    font-size: 10px;
                                    border-radius: 20px;
                                    background-color: rgb(236, 233, 233);
                                }
                            }
                            .title5_2 {
                                display: flex;
                                color: #999;
                                span {
                                    // color: #999;
                                    font-size: 10px;
                                    display: flex;
                                }
                                i {
                                    font-size: 20px;
                                }
                                .title5_2_1 {
                                    margin-right: 10px;
                                    display: flex;
                                    align-items: center;
                                }
                                .title5_2_2 {
                                    margin-right: 10px;
                                    display: flex;
                                    align-items: center;
                                }
                                .title5_2_3 {
                                    margin-right: 10px;
                                    display: flex;
                                    align-items: center;
                                }
                            }
                        }
                    }
                    .useTil2 {
                        // border: 1px solid red;
                        cursor: pointer;
                        width: 600px;
                        padding: 3px;
                        border-bottom: 1px solid #999;
                        margin-top: 6px;
                        text-align: center;
                        p {
                            color: #999;
                        }
                    }
                }
            }
            .w2 {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                width: 260px;
                height: 100%;
                // background-color: red;
                // border: 1px solid red;
                // overflow: hidden;
                .w2_2 {
                    background-color: white;
                    // margin-top: 22px;
                    // border: 1px solid red;
                    width: 95%;
                    height: 130px;
                    border-radius: 5px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-wrap: wrap;
                    cursor: pointer;
                    .w2_2_1 {
                        // border: 1px solid rgb(0, 0, 0);
                        width: 90%;
                        .uia1 {
                            display: flex;
                            align-items: center;
                            // border: 1px solid black;
                            .uia1_1 {
                                // border: 1px solid red;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                flex-wrap: wrap;
                                font-size: 13px;
                                .ti1 {
                                    color: #00c3ff;
                                }
                                .ti2 {
                                    margin-top: 6px;
                                    color: #999;
                                }
                            }
                        }
                    }
                }
                .w2_4 {
                background-color: white;
                width: 95%;
                margin-left: 6px;
                margin-top: 20px;
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                .w2_4_index {
                    // border: 1px solid red;
                    border-bottom: 1px solid #999;
                    width: 90%;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 5px;
                    .una1 {
                        font-size: 16px;
                        font-weight: bolder;
                    }
                    .una2 {
                        font-size: 10px;
                        color: #999;
                        cursor: pointer;
                    }
                }
                .w2_4_index2 {
                    // border: 1px solid red;
                    display: flex;
                    justify-content: center;
                    flex-wrap: wrap;
                    .im {
                        // border: 1px solid red;
                        cursor: pointer;
                        margin-top: 10px;
                        display: flex;
                        flex-wrap: wrap;
                        position: relative;
                        img {
                            max-width: 220px;
                            border-radius: 5px;
                        }
                        .kjg {
                            // border: 1px solid red;
                            position: absolute;
                            bottom: 0;
                            font-size: 10px;
                            color: white;
                            background-color: black;
                            opacity: 0.5;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 1;
                            overflow: hidden;
                        }
                    }
                    .im2 {
                        // border: 1px solid red;
                        cursor: pointer;
                        margin-top: 10px;
                        width: 90%;
                        display: flex;
                        justify-content: space-between;
                        justify-content: center;
                        align-items: center;
                        font-size: 6px;
                        .huo {
                            // border: 1px solid red;
                            width: 50px;
                            padding: 3px;
                            text-align: center;
                            border-radius: 4px;
                            background-color: #999;
                            color: white;
                        }
                        .jie {
                            // border: 1px solid red;
                            margin-left: 10px;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 1;
                            overflow: hidden;
                        }
                    }
                }
                }
                .w2_5 {
                    background-color: white;
                    // padding: 10px;
                    margin-top: 20px;
                    width: 95%;
                    margin-left: 6px;
                    display: flex;
                    justify-content: center;
                    flex-wrap: wrap;
                    .w2_5_index {
                        border-bottom: 1px solid #999;
                        width: 90%;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        padding: 5px;
                        .una1 {
                            font-size: 16px;
                            font-weight: bolder;
                        }
                        .una2 {
                            font-size: 10px;
                            color: #999;
                            cursor: pointer;
                        }
                    }
                    .w2_5_index2 {
                        // border: 1px solid red;
                        .tiing {
                            // border: 1px solid red;
                            cursor: pointer;
                            margin-top: 8px;
                            width: 230px;
                            display: flex;
                            // justify-content: center;
                            align-items: center;
                            img {
                                max-width: 50px;
                                border-radius: 4px;
                            }
                            span {
                                margin-left: 10px;
                            }
                            span:hover {
                                color: #00c3ff;
                            }
                        }
                    }
                }
            }
        }
    }
</style>